<?php
		$username1 = $_SESSION['username'];
		
		echo "<h3>Dashboard</h3>";
		echo "<h4>Personal</h4>";
		
		if($_SESSION['category']=="student") echo "<a href='../project/create_project.php'><font color='blue'>Add My Project</font></a><br />";
		if($_SESSION['category']=="student") echo "<a href='../student/create_team.php?username=$username1'><font color='blue'>Create Team</font></a><br />";
		
		/* Industry Personal*/
		
		if($_SESSION['category']=="industry") echo "<a href='../industry/create_industry_problem.php?username=$username1'><font color='blue'>Create Problem</font></a><br />";
		if($_SESSION['category']=="industry") echo "<a href='../industry/all_industry_problem.php?username=$username1'><font color='blue'>All Problems by Me</font></a><br />";
		
		/*Guide Personal*/
		
		if($_SESSION['category']=="guide") echo "<a href='../guide/create_guide_problem.php?username=$username1'><font color='blue'>Create Problem</font></a><br />";
		if($_SESSION['category']=="guide") echo "<a href='../guide/all_guide_problem.php?username=$username1'><font color='blue'>All Problems by Me</font></a><br />";
		
		/* College Personal*/
		
		if($_SESSION['category']=="college") echo "<a href='../college/create_college_problem.php?username=$username1'><font color='blue'>Create Problem</font></a><br />";
		if($_SESSION['category']=="college") echo "<a href='../college/all_college_problem.php?username=$username1'><font color='blue'>All Problems by Me</font></a><br />";
		
		/*Profile for All*/
		
		$cat = $_SESSION['category'];
		echo "<a href='../$cat/profile_view.php?username=$username1'><font color='blue'>View Profile</font></a><br />";
		echo "<a href='../$cat/profile_update.php?username=$username1'><font color='blue'>Edit Profile</font></a><br />";
		
		/*Home Page*/
		
		echo "<a href='../$cat/profile.php?username=$username1'><font color='blue'>Home Page</font></a><br />";

		/*General for All*/
		
		echo "<h4>General</h4>";
		echo "<a href='../industry/all_industry_problem.php'><font color='blue'>All Industry Problems</font></a><br />";
		echo "<a href='../guide/all_guide_problem.php'><font color='blue'>All Guide Problems</font></a><br />";
		echo "<a href='../college/all_college_problem.php'><font color='blue'>All College Problems</font></a><br />";
		
		/* Friend Request Module */
		
		echo "<h4>Friend Request Module <font color='blue'>(under development)</font></h4>";
		echo "<a href='../$cat/friendship_module.php?username=$username1'><font color='blue'>My Friend Ship Module</font></a><br />";
		
		?>
		<a href='../login/logout.php'><font color='blue'>Logout</font></a><br />
		<?php
			echo "Category : ".$_SESSION['category'];
		?>
		<?php //echo "</font>"; ?>